package com.ydx.service;

import com.ydx.entity.Patrol;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ydx.entity.PatrolAndShiyanshi;

import java.util.List;

/**
* @author zero
* @description 针对表【patrol】的数据库操作Service
* @createDate 2024-06-19 10:03:07
*/
public interface PatrolService extends IService<PatrolAndShiyanshi> {

    List<PatrolAndShiyanshi> selectMore();

    List<PatrolAndShiyanshi>  selectWodePatrol(int userid);

    boolean  UpdateNewPatrol(Patrol patrol);

    boolean saveNew(Patrol patrol);

    boolean deletepatrol(int patrolid);

    List<PatrolAndShiyanshi> selectMore2(String door,String device);

    List<PatrolAndShiyanshi> selectMore3(String device, String door, int userid);
}
